package a66weding.com.jiehuntong.activity.me;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import a66weding.com.jiehuntong.R;
import a66weding.com.jiehuntong.application.GlobalApplication;

/**
 * 我的—预约模块
 * Created by Administrator on 2016/7/7.
 */
public class MeOrderActivity extends MeBaseActivity implements View.OnClickListener{
    private LinearLayout mBackLay;
    private TextView mBackContentTv;
    private TextView mHeaderTitleTv;
    private TextView mRightTitleTv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_me_order);
        ((GlobalApplication)getApplication()).getActivityManager().addActivity("MeOrderActivity",this);

        initview();
    }

    private void initview() {
        mBackLay = (LinearLayout) findViewById(R.id.lay_head_backlay);
        mBackContentTv = (TextView) findViewById(R.id.headleft_title_tv);
        mHeaderTitleTv = (TextView) findViewById(R.id.headcenter_title_tv);
        mRightTitleTv = (TextView) findViewById(R.id.headright_title_tv);

        mBackContentTv.setText("我的");
        mHeaderTitleTv.setText("我的预约");
        mRightTitleTv.setText("筛选");

        mBackLay.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.lay_head_backlay: //点击我的，返回到上一级界面
                finish();

                break;
        }
    }
}
